ashugg at mac dot com :: sw :: Make 10% Transparent

[ Home | Software ]



(*

"Make 10% Transparent" iTerm script

Description:
Make all iTerm terminals (windows) and tabs (sessions)
10% transparent by setting the transparency to "0.1".

This is useful for restoring your iTerm transparency (my
default is 10%) after using the "Make Opaque" iTerm script.

No warranty. Tested with iTerm 0.8.0 but may also work
with other versions.

Written by Andrew Shugg <ashugg@mac.com>
http://homepage.mac.com/ashugg/

Make 10% transparent.scpt
Last modified: $Date: 2004-08-28 21:20:16 +0800 (Sat, 28 Aug 2004) $

Set iTerm's transparency to 0.1 (10% transparent). Does not affect
the transparency setting in Preferences. Intended to be placed in
iTerm's Script's folder:

    ~/Library/Application Support/iTerm/Scripts

Released under the same licensing terms as iTerm itself.
iTerm homepage: http://iterm.sf.net/

*)

tell application "iTerm"
    activate
    -- Make a list of all the terminals (windows) to iterate over
    set TerminalList to terminals
    repeat with myTerminal in TerminalList
        -- Make a list of all the sessions (tabs) in this terminal (window) to iterate over
        set SessionList to sessions of myTerminal
        repeat with mySession in SessionList
            tell mySession
                set transparency to "0.1"
            end tell
    end repeat
    end repeat
end tell





[ Home | Software ]




Valid HTML 4.01!

http://homepage.mac.com/ashugg/sw/Make_10%_Transparent.html
Last modified: Tue Aug 31 20:49:45 WST 2004